home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / p_man / cat3 / Xm / XmTextXYToPos.z / XmTextXYToPos
Text File  |  1998-10-30  |  3KB  |  67 lines

  1.  
  2.  
  3.  
  4.      XXXXmmmmTTTTeeeexxxxttttXXXXYYYYTTTTooooPPPPoooossss((((3333XXXX))))         UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV         XXXXmmmmTTTTeeeexxxxttttXXXXYYYYTTTTooooPPPPoooossss((((3333XXXX))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           XXXXmmmmTTTTeeeexxxxttttXXXXYYYYTTTTooooPPPPoooossss - A Text function that accesses the character
  10.           position nearest an x and y position
  11.  
  12.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  13.           #include <Xm/Text.h>
  14.           XXXXmmmmTTTTeeeexxxxttttPPPPoooossssiiiittttiiiioooonnnn XXXXmmmmTTTTeeeexxxxttttXXXXYYYYTTTTooooPPPPoooossss(
  15.           WWWWiiiiddddggggeeeetttt wwwwiiiiddddggggeeeetttt,
  16.           PPPPoooossssiiiittttiiiioooonnnn xxxx,
  17.           PPPPoooossssiiiittttiiiioooonnnn yyyy);
  18.  
  19.      VVVVEEEERRRRSSSSIIIIOOOONNNN
  20.           This page documents Motif 2.1.
  21.  
  22.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  23.           XXXXmmmmTTTTeeeexxxxttttXXXXYYYYTTTTooooPPPPoooossss accesses the character position nearest to the
  24.           specified _x and _y position, relative to the upper left
  25.           corner of the Text widget.
  26.  
  27.           In the case of horizontal writing, the position is the
  28.           origin of the character.  In the case of vertical writing,
  29.           the position is the vertical origin of the character.
  30.  
  31.           _w_i_d_g_e_t    Specifies the Text widget ID
  32.  
  33.           _x         Specifies the _x position, relative to the upper
  34.                     left corner of the widget
  35.  
  36.           _y         Specifies the _y position, relative to the upper
  37.                     left corner of the widget
  38.  
  39.           For a complete definition of Text and its associated
  40.           resources, see XXXXmmmmTTTTeeeexxxxtttt(3).
  41.  
  42.      RRRREEEETTTTUUUURRRRNNNN
  43.           Returns the character position in the text nearest the _x and
  44.           _yposition specified. This is an integer number of characters
  45.           from the beginning of the buffer. The first character
  46.           position is 0 (zero).
  47.  
  48.      RRRREEEELLLLAAAATTTTEEEEDDDD
  49.           XXXXmmmmTTTTeeeexxxxtttt(3).
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                                         (printed 10/24/98)
  64.  
  65.  
  66.  
  67.